import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import * as echarts from 'echarts';
import 'echarts/theme/chalk.js'
import 'echarts/theme/wonderland.js'
// import axios from 'axios'

// 引入公共样式
import './assets/css/base.css'
// 引入字体图标文件
import './assets/font/iconfont.css'

// 请求路径配置
// axios.defaults.baseURL = 'http://127.0.0.1:8888/api/'
// Vue.prototype.$http = axios

// 引入ECharts
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false;
new Vue({
    el: '#app',
    router,
    store,
    // axios,
    components: { App },
    template: '<App/>'
})